import Compontent1 from './Component1/index'
import Compontent2 from './Component2/index'
const components = [
  Compontent1,
  Compontent2
]
function install (Vue) {
  components.map = component => {
    Vue.component(component.name, component)
  }
}
export default {
  install,
  Compontent1,
  Compontent2
}
